/*
 * Copyright (c) 2006-2020, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-04-02     sspu2       the first version
 */
#ifndef __DEV_APP_H_
#define __DEV_APP_H_

#define LED_TWINK_FOREVER 0xFFFF


#define LED_SYS_STATE   	0
#define LED_WIFI_STATE    1
#define LED_TOC_MEASURE   2
#define LED_WATER_FLOW    3
#define LED_DEV_FAULT     4
#define LED_TDS_ALERT     5
#define LED_TOC_ALERT     6
#define LED_MAX_NUMB      7


#define CONDITION_OPTION_TIME   10000

extern void LedAct(rt_uint8_t id,rt_uint8_t onOff,rt_uint32_t keepTime,rt_uint16_t twinkNumber);
extern rt_uint32_t daySecTime;
extern  rt_uint32_t needMeasure;

#endif /* __DEV_APP_H_ */
